<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>New quiz</title>
</head>
<body>
	<%@ include file="header.jsp" %>
	<%
		User user = (User) session.getAttribute("user");
	%>
	<center><div style="width: 800px;" align="left">
		<div style="font-style: italic; font-weight: 800;">Create a Quiz</div>
		<%
			if(session.getAttribute("Note") != null){
				out.println("<p><span style=\"color:red\">" + session.getAttribute("Note") +"</span></p>");
				session.removeAttribute("Note");
			}else
				out.println("<p>Insert quiz name and description</P>");
		%>
		
		<form action="QuizCreatePushedServlet" method="post">
			<p>Quiz Name: <input type="text" name="name" /></P>
			<p>Description: <input type="text" name="desc" /></P>
			<p><input type="submit" value="create"/></P>
		</form>
	</div></center>
</body>
</html>